SelectRange Method (IListBase<T>)

Selects all list items between (and including) the two specified items.

This method has multiple overloads.

SelectRange Method (Int32)

Selects all list items between the currently selected item and the specified last item index.

C# Syntax

            
                void SelectRange(int itemIndexLast)

Parameters

itemIndexLast
The index of the last item to select.

SelectRange Method (Int32,Int32)

Selects all list items between (and including) the two specified items.

C# Syntax

            
                void SelectRange( 
   int indexFrom,
   int indexTo
)

Parameters

indexFrom
The 0-based index of the first item in the range.
indexTo
The 0-based index of the last item of the range.

SelectRange Method (String)

Selects all list items between the currently selected item and the item whose text is specified.

C# Syntax

            
void SelectRange(string itemNameLast)

Parameters

itemNameTo
The name of the last item to select.

SelectRange Method (String,String)

Selects all list items between (and including) the two specified item names.

C# Syntax

            
void SelectRange( 
   string itemNameFrom,
   string itemNameTo
)

Parameters

itemNameFrom
The name of the first item in the range.
itemNameTo
The name of the last item of the range.

SelectRange Method (T)

Selects all list items between the currently selected item and the specified last item.

C# Syntax

            
void SelectRange(T itemLast)

Parameters

itemLast
The last item to select.

SelectRange Method (T,T)

Selects all list items between (and including) the two specified items.

C# Syntax

            
void SelectRange( 
   T itemFrom,
   T itemTo
)

Parameters

itemFrom
The first item in the range.
itemTo
The last item of the range.